package java68_9;

import java.util.Scanner;

public class SelectCode {
    public static void main(String[] args) {
        Scanner in=  new Scanner(System.in);
        System.out.println("input a course :");
        try {
            int choic = in.nextInt();
            switch (choic) {
                case 1: {
                    System.out.println("java ");
                }
                break;
                case 2: {
                    System.out.println("C#");
                }
                break;
                case 3: {
                    System.out.println("database");
                }
                break;
                default:
                    System.out.println("No  this course");
                    break;
            }
        }catch (Exception e){
            System.out.println("输入的不是数字"+e.getMessage());
            e.printStackTrace();//???
        }
        System.out.println("暑假开始了...");
    }
}
